var storyList = domain.listStories();
log.info('Starting cleanup with: ' + storyList);
for(var i = 0; i < storyList.size(); i++) {
  var story = storyList.get(i);
  if (story.getSummary().equals('george')) {
    log.info('george should be bob');
    story.setSummary('bob');
    updater.update(story);
  } else if (story.getSummary().equals('billy')) {
    log.info('byebye billy');
    updater.remove(story);
  }
}